import {PureComponent} from "react";
import {WithRouter} from "../hoc";

class Detail extends PureComponent {
    render() {
        const {router: {params}} = this.props;
        return (
            <div>
                <h1>详情页面</h1>
                <span>id:{params.id}</span>
            </div>
        )
    }
}

export default WithRouter(Detail)